﻿using System;
namespace PBOffice.Model
{
	/// <summary>
    /// Staff:员工表(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class Staff
	{
		public Staff()
		{}
		#region Model
        private int _stfid;
        private string _password;
        private string _stfcode;
        private string _stfname;
        private bool _gender;
        private int _deptid;
        private int _posid;
        private int _superid;
        private string _education;
        private string _workexp;
        private DateTime _borndate;
        private DateTime _joindate;
        private string _mail;
        private string _telephone;
        private string _telephoneext;
        private string _mobilephone;
        private string _zip;
        private string _address;
        private int _status;
		/// <summary>
		/// 序列号
		/// </summary>
		public int StfId
		{
			set{ _stfid=value;}
			get{return _stfid;}
		}
		/// <summary>
		/// 密码
		/// </summary>
		public string Password
		{
			set{ _password=value;}
			get{return _password;}
		}
		/// <summary>
        /// 员工编号
		/// </summary>
		public string StfCode
		{
			set{ _stfcode=value;}
			get{return _stfcode;}
		}
		/// <summary>
        /// 员工姓名
		/// </summary>
		public string StfName
		{
			set{ _stfname=value;}
			get{return _stfname;}
		}
		/// <summary>
        /// 性别：0-女，1-男
		/// </summary>
		public bool Gender
		{
			set{ _gender=value;}
			get{return _gender;}
		}
		/// <summary>
        /// 部门Id，外键
		/// </summary>
		public int DeptId
		{
			set{ _deptid=value;}
			get{return _deptid;}
		}
		/// <summary>
        /// 岗位Id，外键
		/// </summary>
		public int PosId
		{
			set{ _posid=value;}
			get{return _posid;}
		}
		/// <summary>
        /// 上级Id,外键关联员工序列号
		/// </summary>
		public int SuperId
		{
			set{ _superid=value;}
			get{return _superid;}
		}
		/// <summary>
        /// 教育程度
		/// </summary>
		public string Education
		{
			set{ _education=value;}
			get{return _education;}
		}
		/// <summary>
        /// 工作经历
		/// </summary>
		public string WorkExp
		{
			set{ _workexp=value;}
			get{return _workexp;}
		}
		/// <summary>
        /// 出生日期
		/// </summary>
		public DateTime BornDate
		{
			set{ _borndate=value;}
			get{return _borndate;}
		}
		/// <summary>
        /// 入职日期
		/// </summary>
		public DateTime JoinDate
		{
			set{ _joindate=value;}
			get{return _joindate;}
		}
		/// <summary>
        /// 电子邮箱
		/// </summary>
		public string Mail
		{
			set{ _mail=value;}
			get{return _mail;}
		}
		/// <summary>
        /// 座机
		/// </summary>
		public string TelePhone
		{
			set{ _telephone=value;}
			get{return _telephone;}
		}
		/// <summary>
        /// 分机
		/// </summary>
		public string TelePhoneExt
		{
			set{ _telephoneext=value;}
			get{return _telephoneext;}
		}
		/// <summary>
        /// 手机
		/// </summary>
		public string MobilePhone
		{
			set{ _mobilephone=value;}
			get{return _mobilephone;}
		}
		/// <summary>
		/// 邮编
		/// </summary>
		public string Zip
		{
			set{ _zip=value;}
			get{return _zip;}
		}
		/// <summary>
		/// 地址
		/// </summary>
		public string Address
		{
			set{ _address=value;}
			get{return _address;}
		}
		/// <summary>
        /// 状态：0-禁用，1-启用
		/// </summary>
		public int Status
		{
			set{ _status=value;}
			get{return _status;}
		}
		#endregion Model

	}
}

